home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / cascover / manual.doc < prev    next >
Encoding:
Text File  |  1994-02-10  |  4.8 KB  |  141 lines

  1.  
  2.                                 Introduction
  3.  
  4. This is the manual of a macropackage I wrote for printing the covers for 
  5. cassettes. It's quite flexible and quite easy to learn. I tried to keep 
  6. this manual short, so it won't cost you that much to print it. -- Stijn 
  7. Raaijmakers.
  8.  
  9.  
  10.                         General form of a tape-file
  11.  
  12. --------------------------------------------------------------------------
  13.  
  14. \input <size-file>.cas
  15. \input cascover
  16. \language <language>*
  17.  
  18. \begintape
  19.   \begincontents
  20.     \beginside <Side>: <Title> - <Author> (<Dolby>)
  21.       \\<Title> - <Author>, <Time>*
  22.       ...
  23.     \title <Title> - <Author>*
  24.       \\<Title> - <Author>, <Time>*
  25.       ...
  26.     \endside
  27.     \beginside <Side>: <Title> - <Author> (<Dolby>)
  28.       ...
  29.     \endside
  30.   \endcontents
  31.   \beginfront
  32.     \fronttitle <Title> - <Author>*
  33.     ...
  34.   \endfront
  35.   \beginflap
  36.     ...
  37.   \endflap
  38. \endtape
  39.  
  40. \begintape
  41.   ...
  42. \endtape
  43.  
  44. \bye
  45.  
  46. --------------------------------------------------------------------------
  47.  
  48. The lines marked * can be omitted. All <words> can be omitted, but 
  49. sometimes have to be replaced by {}, see below.
  50.  
  51.                           Comment and empty frames
  52.  
  53. The frames are: \beginside...\endside, \beginfront...\endfront and 
  54. \beginflap...\endflap. In each of these frames you can put normal comment, 
  55. because each frame is like a miniscule page. If you put a \title or \\ 
  56. after comment, you have to put a \par (empty line) between them. If you 
  57. want a frame to be empty, you have to put \empty between \begin and \end.
  58.  
  59.                         About formatted input macros
  60.  
  61. In the figure above you see a lot of things like
  62.  
  63.    `\title <Title> - <Author>'.
  64.  
  65. This means you have to type `\title', <space>, some words, ` - ', another 
  66. word (one) and a <space> (which is usually a return). You could type, for 
  67. instance:
  68.  
  69.    \title Pork soda - Primus
  70.    
  71. If the last part of a line like this contains a space (i.e., if `Primus' 
  72. were `Mucky Pup'), you'd have to put it between braces, so it would look 
  73. like this:
  74.  
  75.    \title Pork soda - {Mucky Pup}
  76.    
  77. If the first part (Pork soda) happens to contain the exact text it should
  78. be followed by (` - ' in this example), you have to put it between braces
  79. too (so TeX won't see the first ` - '):
  80.  
  81.    \title {Pork - soda} - {Mucky Pup}
  82.  
  83. If something goes wrong here, you'll get some error message like `missing 
  84. argument,' `use of ... doesn't match it's definition' or `runaway argument.'
  85.  
  86. If some part is enclosed by <space>s, you have to replace it by an empty 
  87. group ({}), because two <space>s in a row is just the same as one <space>.
  88. Have a look at page 202 of *the TeXbook* and the example files to find out 
  89. more about this.
  90.  
  91.  
  92.                       Size and dimension of the cover
  93.  
  94. the margins and the size of it. You can create a library of .cas files, in 
  95. which you define different sizes for tape covers. They define the heights of 
  96. the contents, front and flap. You can also change the margins, but you need 
  97. pretty small margins to fit everything on the cover. Have a look at
  98. normal.cas and small.cas.
  99.  
  100.  
  101.                              Changing the font
  102.  
  103.  
  104. You can change the current fontsize with the commands \small, \normalsize 
  105. and \large, which work as in LaTeX. You can change the fontstyle with the 
  106. commands \rm, \it and \em. You can switch to condensed form using \cond. 
  107. This only works for the normal-sized roman font, as this is the only one 
  108. which sometimes needs to be condensed. Condensed text looks ugly, but will 
  109. make sure long titles and author-names can be used. The macros don't 
  110. switch to condensed text automaticly, because some people might rather 
  111. abbrieviate long titles and names.
  112.  
  113. If you want to change the definition of the fonts, you only need to change 
  114. the file cascfont.tex. To get the font called cmrcd7, just copy the file 
  115. cmr7.mf to cmrcd7.mf, edit cmrcd7.mf and change the lines
  116.  
  117.    font_identifier:="CMR"; font_size 7pt#;
  118.    u#:=15.5/36pt#;      % unit width
  119.  
  120. to
  121.  
  122.    font_identifier:="CMRCD"; font_size 7pt#;
  123.    u#:=.75 * 15.5/36pt#;      % unit width
  124.  
  125.  
  126.                          Suggestions and extensions
  127.  
  128. Use an \empty front so you can draw a logo. Use the flap to enter 
  129. information like the type of tape used. I made a macro, so I can type 
  130. \SA90 to get {\large TDK SA90\qquad}.
  131.  
  132.  
  133.                            More about the macro's
  134.  
  135.  
  136. All the frames mentioned above create a \parbox as in LaTeX. You can type 
  137. normal text in them, as demonstrated in example 2. The commands 
  138. \begintape, \endcontents, \endfront and \endflap create a horizontal line. 
  139. This means you don't have to put them in the order used above. You could 
  140. make a tapecover with a double frame to put the songs on, by simply 
  141. repeating the contents part.